﻿<!DOCTYPE html>
<html>

<head>
    <meta charset="utf-8" />
    <title></title>
    <link href="../../assets/lib/layui/css/layui.css" rel="stylesheet" />
    <link href="../../assets/lib/winui/css/winui.css" rel="stylesheet" />
</head>

<body>
    <div class="winui-toolbar">
        <div class="winui-tool">
            <button id="reloadTable" class="winui-toolbtn search-table-btn-right"><i class="fa fa-refresh"
                    aria-hidden="true"></i>
                <language showName="com.skyeye.refreshDataBtn"></language>
            </button>
            <button id="addBean" class="winui-toolbtn search-table-btn-right" auth="1552960199302"><i class="fa fa-plus"
                    aria-hidden="true"></i>
                <language showName="com.skyeye.addBtn"></language>
            </button>
        </div>
    </div>
    <div style="margin:auto 10px;">
        <table id="messageTable" lay-filter="messageTable"></table>

        <script type="text/html" id="checkboxTpl">
			<input type="checkbox" name="lock" value="{{d.id}}" title="锁定" lay-filter="lockDemo" {{d.userLock == 1 ? 'checked': ''}}>
		</script>

        <script type="text/html" id="tableBar">
            {{# if (!tenantEnable()) { }}
			{{# if (auth('1552960326068')) { }}
            	<a class="layui-btn layui-btn-xs layui-btn-normal" lay-event="edit">重置密码</a>
			{{# } }}
			{{# if (auth('1552960399251')) { }}
				<a class="layui-btn layui-btn-xs" lay-event="bindRole">绑定角色</a>
			{{# } }}
            {{# if (auth('1721130435799')) { }}
                <a class="layui-btn layui-btn-xs layui-btn-normal" lay-event="resetUserEffectiveDate">重置有效期</a>
                {{# } }}
            {{# } }}
        </script>
    </div>
    <script src="../../assets/lib/layui/layui.js"></script>
    <script src="../../assets/lib/layui/custom.js"></script>
    <script type="text/javascript">
        layui.config({ base: '../../js/sysEveUser/' }).use('sysEveUserList');
    </script>
</body>

</html>